<include file="Public/min-header" />
<script type="text/javascript">
    window.UEDITOR_Admin_URL = "__ROOT__/Public/plugins/Ueditor/";
    var URL_upload = "{$URL_upload}";
    var URL_fileUp = "{$URL_fileUp}";
    var URL_scrawlUp = "{$URL_scrawlUp}";
    var URL_getRemoteImage = "{$URL_getRemoteImage}";
    var URL_imageManager = "{$URL_imageManager}";
    var URL_imageUp = "{$URL_imageUp}";
    var URL_getMovie = "{$URL_getMovie}";
    var URL_home = "{$URL_home}";
</script>
<load href="__ROOT__/Public/plugins/Ueditor/ueditor.config.js" />
<load href="__ROOT__/Public/plugins/Ueditor/ueditor.all.js" />
<link href="__PUBLIC__/plugins/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
<script src="__PUBLIC__/plugins/daterangepicker/moment.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>
<div class="wrapper">
    <include file="Public/breadcrumb" />
    <section class="content">
        <div class="container-fluid">
            <div class="pull-right">
                <a href="javascript:history.go(-1)" data-toggle="tooltip" title="" class="btn btn-default pull-right" data-original-title="返回"><i class="fa fa-reply"></i></a>
            </div>
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title"><i class="fa fa-list"></i>推送信息</h3>
                </div>
                <div class="panel-body">
                    <form action="{:U('PushMsg/handle')}" method="post" >
                        <table class="table table-bordered">
                            <tbody>
                                <tr>
                                    <td class="col-sm-1 text-right">设备号ID:</td>
                                    <td>
                                        <input type="text" class="form-control" name="reg_id" value="{$info.reg_id}">
                                    </td>
                                    <td></td>
                                </tr>

                                <tr>
                                    <td class="col-sm-1 text-right">推送内容:</td>
                                    <td>

                                        <textarea name="content" rows="10" cols="50">{$info.content}</textarea>
                                    </td>
                                    <td></td>
                                </tr>

                                <tr>
                                    <td class="col-sm-1 text-right">推送类型:</td>
                                    <td>
                                        <select name="type" class="form-control"  >
                                            <option value="">请选择</option>
                                            <volist name="typeArr" id="vo">
                                                <option value="{$key}" <if condition="$info[type] eq $key">selected</if> >{$vo}</option>
                                            </volist>
                                        </select>
                                    </td>
                                    <td></td>
                                </tr>

                                <tr>
                                    <td class="col-sm-1 text-right">推送状态:</td>
                                    <td>
                                        <select name="status" class="form-control"  >
                                            <option value="0" <if condition="$info[status] eq 0">selected</if> >失败</option>
                                            <option value="1" <if condition="$info[status] eq 1">selected</if> >成功</option>
                                        </select>
                                    </td>
                                    <td></td>
                                </tr>



                                <notempty name="info[au_id]">
                                    <tr>
                                        <td class="col-sm-1 text-right">推送时间:</td>
                                        <td>
                                            {$info.add_time|date="Y-m-d H:i:s",###}
                                        </td>
                                        <td></td>
                                    </tr>

                                </notempty>

                                <tr>
                                    <td></td>
                                    <td>
                                        <input type="hidden" value="{$info.id}" name="id" />
                                        <input type="hidden" value="{$act}" name="act" />
                                        <button type="submit" class="btn btn-info">
                                            <i class="ace-icon fa fa-check bigger-110"></i> 保存
                                        </button>
                                    </td>
                                </tr>
                            </table>

                    </form>
                </div>
            </div>
        </div>
    </section>
</div>
<script>



</script>
</body>

</html>
